package com.hqyj.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hqyj.shop.dto.GoodsInfoDto;
import com.hqyj.shop.pojo.GoodsInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.shop.util.ResultVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2024-10-11 01:33:11
 */
public interface GoodsInfoService extends IService<GoodsInfo> {


    //商品分类查询
    ResultVo queryPage(GoodsInfoDto dto);

    //商品分页缓存查询
   Page<GoodsInfo> cache(int page, int row, int proType, int brandId, int startPrice, int endPrice);

   //全文搜索缓存分页
   Page<GoodsInfo> cacheFull(int page, int row, String word);


}
